home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / lists / mint / l_0799 / 692 < prev    next >
Encoding:
Internet Message Format  |  1994-08-27  |  1.5 KB

  1. Subject: Pipes may come and pipes... don't go!
  2. Date: Mon, 6 Dec 1993 16:28:00 -0500 (EST)
  3. From: Chris Herborth <herborth@53iss6.waterloo.ncr.com>
  4. Message-Id:  <9312061628.ak27580@ncrhub1.NCR.COM>
  5.  
  6. While fooling around with optimising my simple pipe server (duh, yah,
  7. using write on a block of chars is much faster than single-char putc...),
  8. I noticed something strange...
  9.  
  10. The pipes don't go away when I'm doing with the pipe server and any programs
  11. that write into them!  So I'm stuck with these pipes laying around, dripping
  12. out of both ends.
  13.  
  14. Using MiNT 1.08 and 1.09 (with all of the patches applied from the mailing
  15. list), gcc 2.4.5 (2.5.x's cc1plus still won't _run_ on my ST... address
  16. error) and MiNTlibs pl.41.  It appears to have worked fine with pl.39.
  17.  
  18. To create the pipe, I'm just using open()...  I'm using read() to get
  19. stuff from it into a buffer, and when I catch a SIGKILL, SIGABRT, etc
  20. I close the pipe, and die (in the pipe server).  I've used everything
  21. from cat and echo to a C++ program to write into the pipe.
  22.  
  23. Any ideas?
  24.  
  25. I've also noted a strange thing on the TOS 1.4 desktop; if you open
  26. /pipe, and have a file named "Test.Pipe" in there, you'll see "TEST.PIPE"
  27. in the window!  Gee, didn't realise TOS could handle four-char filenames...
  28. ;-)  Must be a bug in 1.4's desktop code.
  29.  
  30. -- 
  31. ----------============_   /\ ========================================----------
  32. Chris Herborth        \`o.0'                   herborth@53iss6.Waterloo.NCR.COM
  33. Information Products  =(___)=
  34. NCR ISD Waterloo         U
  35.